Update Buck to latest master genrule() no longer supports running commands run only for the side-effect with no output file. Actions like download_sources or eclipse need to be handled using Python scripts executed from the user's shell, otherwise Buck fails if caching is enabled. Change-Id: I361fc20675f211e15e4ab7942ef52778d0a615c2
diff --git a/BUCK b/BUCK index b1a0c75..616a0fe 100644 --- a/BUCK +++ b/BUCK
@@ -15,9 +15,12 @@ genrule( name = 'api', - cmd = '', + cmd = ';'.join( + ['cd $TMP'] + + ['ln -s $(location %s) .' % n for n in API_DEPS] + + ['zip -q0 $OUT *']), deps = API_DEPS, - out = '__fake.api__', + out = 'api.zip', ) java_binary(